package com.wushijia.datastructure;

public class SeqQueue_ex{
	public static void main(String args[])
    {
        SeqQueue<Integer> que = new SeqQueue<Integer>(5);
        que.enqueue(new Integer(10)); 
        que.enqueue(new Integer(20)); 
        System.out.println("dequeue : "+que.dequeue().toString()+"  "+que.dequeue().toString()+"  ");
        System.out.println(que.toString());
        que.enqueue(new Integer(30)); 
        que.enqueue(new Integer(40)); 
        que.enqueue(new Integer(50)); 
        que.enqueue(new Integer(60)); 
        System.out.println(que.toString());
            
        que.enqueue(new Integer(70)); 
        System.out.println(que.toString());
    }
}
